package com.eportal.service;

import java.util.List;
import java.util.Map;

import com.eportal.domain.SysrolesTemplate;
import com.eportal.domain.TAgent;
import com.eportal.domain.TCommunity;

public interface SysRolesTemplateService {


    List<SysrolesTemplate> list();

    void update(SysrolesTemplate role) throws Exception;

    SysrolesTemplate get(Long id);

   SysrolesTemplate getByTmpType(String tmpType);

   Map<String, Object> updateMethod(SysrolesTemplate sysrolesTemplatee);

   Map<String, Object> creatManager(TAgent entity);

   Map<String, Object> creatComuManager(TCommunity tCommunity);
}
